package com.chdwmp.product.constant;

public class PayConstants {
    /**********************************************************************************
     * 付款方式【1-支付宝 2-微信】
     **********************************************************************************/
    public static final class OrderPayWay {
        public static final int ZFB = 1;// 支付宝
        public static final int WX = 2;// 微信
    }

    /**********************************************************************************
     * 付款状态【1-未付款 2-已付款 3-退款】
     **********************************************************************************/
    public static final class OrderPayStatus {
        public static final int NOT_PAY = 1;// 未付款
        public static final int HAS_PAY = 2;// 已付款
        public static final int REFUND = 3;// 已退款
        public static final int CLOSED = 4;// 已关闭
        public static final int PAY_ERROR = 5;// 支付错误
        public static final int USERPAYING = 6;// 用户支付中
        public static final int ORDER_ERROE = 99;// 统一下单出错
    }

    /**********************************************************************************
     * 付款场景【特扬 1-咨询 2-处方】
     **********************************************************************************/
    public static final class PayScene {
        public static final Integer VIP = 3;// VIP
    }

    /**********************************************************************************
     * 支付类型
     **********************************************************************************/
    public static final class TradeType {
        public static final String APP = "APP";// app支付
        public static final String MWEB = "MWEB";// 网页支付
    }

}
